package com.atguigu.springcloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @PROJECT_NAME: cloud2020
 * @DESCRIPTION:
 * @Author: csc
 * @DATE: 2023/4/6 9:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {


  private Long id;

  /**用户id*/
  private Long userId;
  /**产品id*/
  private Long productId;
  /**数量*/
  private Integer count;
  /**金额*/
  private BigDecimal money;
  //订单状态
  private Integer status;





}
